import numpy as np 
import pandas as pd #明天记得看一下pandas


class Data:

    # output data
    path_comp_predict_table = 'chenguoqi/output/comp_predict_table.csv'

    # input data
    path_mfd_bank_shibor = '../data/mfd_bank_shibor.csv'
    path_mfd_day_share_interest = '../data/mfd_day_share_interest.csv'
    path_user_balance_table = '../data/user_balance_table.csv'
    path_user_profile_table = '../data/user_profile_table.csv'

    # the data init
    mfd_bank_shibor = None
    mfd_day_share_interest = None
    user_balance_table = None
    user_profile_table = None

    def __init__(self):
        
        self.mfd_bank_shibor = pd.read_csv(self.path_mfd_bank_shibor)
        self.mfd_day_share_interest = pd.read_csv(self.path_mfd_day_share_interest)
        self.user_balance_table = pd.read_csv(self.path_user_balance_table)
        self.user_profile_table = pd.read_csv(self.path_user_profile_table)

        print("finish load the data from path ../data/" )


if __name__ == "__main__":
    data = Data()
    print(data.mfd_bank_shibor)
    print(data.mfd_day_share_interest)
    print(data.user_balance_table)
    print(data.user_profile_table)